/**
 *  Interface that defines endpoints for Public Console
 *
 *  @author Scott Monahan
 *  @version $Id$
 *  
 *  File last changed on $Date:$ by $Author:$ in $Rev:$
 *
 */

package info637.pprc.adaptor;

import javax.ws.rs.FormParam;
import javax.ws.rs.POST;
import javax.ws.rs.Path;

@Path("/public")
public interface IPublicRESTAdaptor {

	@POST
	@Path("/ping/")
	java.util.Map<String, String> ping();
	
	@POST
	@Path("/getPropertyListings/")
	java.util.Map<String, Object> getPropertyListings(
		@FormParam(APIConstants.requestId) String requestId,
		@FormParam(APIConstants.address) String address,
		@FormParam(APIConstants.city) String city,
		@FormParam(APIConstants.state) String state,
		@FormParam(APIConstants.zip) String zip,
		@FormParam(APIConstants.monthlyRent) String monthlyRent	
	);

	@POST
	@Path("/getPropertyDetail/")
	java.util.Map<String, String> getPropertyDetail(
		@FormParam(APIConstants.requestId) String requestId,
		@FormParam(APIConstants.propertyId) String propertyId
	);
}